package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.vo.CountByTimeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 预约信息Mapper接口
 * 
 * @author I:P Masquerenaʚїɞ
 * @date 2025-06-09
 */
@Mapper
public interface ReservationMapper extends BaseMapper<Reservation>
{
    List<CountByTimeVo> countByTime(@Param("startTime") LocalDateTime startTime,@Param("endTime") LocalDateTime endTime);
}
